{extend name="public/base" /}
{block name="main"}
<style>.list-unstyled li{padding:5px 0px;}#sidebar2{display:none !important;}.main-container,.page-content{margin-top:0px !important;padding-top:5px !important;}</style>
<div class="main-content">
	<div class="main-content-inner">
		<div class="page-content">

			<!-- #section:settings.box -->
			{include file="public/setting"}
			<!-- /section:settings.box -->
			
			<div class="row">
				<div class="col-xs-12">
				{include file="public/top_menu"}

				<form class="form-horizontal ajaxForm" method="post" action="<?php echo url('run_notcount');?>">
					<input type="hidden" name="orderId" value="<?php echo $id;?>"/>
					<input type="hidden" name="uid" value="<?php echo $userId;?>"/>
					<div class="form-group">
						<div class="col-sm-10" style="padding-top:5px;">
						<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 选择原因： </label>
							<select name="type" id="type_id" required="required">
							<option value="">请选择原因</option>
							{foreach name="issue" item="v"}
								<option value="{$v.id}" <?php if (!empty($isData)){if ($v['id'] == $isData['type']){echo 'selected="selected"';}};?>>{$v.title}</option>
							{/foreach}
							</select>
						</div>
					</div>
					<div class="space-4"></div>
					<div class="form-group">
						<div class="col-sm-10" style="padding-top:5px;">
						<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 消息内容： </label>
							<textarea name="content" id="form-field-11" class="autosize-transition form-control" style="max-width:612px;resize:none;">
							<?php if (!empty($isData)) echo $isData['content'];?>
							</textarea>
						</div>
					</div>
					<?php if (empty($isData)){ ?>
					<div class="space-4"></div>
					<div class="clearfix">
						<div class="col-md-offset-3 col-md-9">
							<button class="btn btn-info" type="submit">
								<i class="ace-icon fa fa-check bigger-110"></i>
								保存
							</button>

							&nbsp; &nbsp; &nbsp;
							<button class="btn" type="reset">
								<i class="ace-icon fa fa-undo bigger-110"></i>
								重置
							</button>
						</div>
					</div>
					<?php } ?>
				</form>
				

					
				</div><!-- /.col -->
			</div><!-- /.row -->
		</div><!-- /.page-content -->
	</div>
</div><!-- /.main-content -->
{/block}
{block name="footer_static"}
<script type="text/javascript"></script>
{/block}